home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_2.arc / PMDEV1.ARC / PMAUX.H < prev    next >
Text File  |  1988-12-03  |  2KB  |  53 lines

  1. /*
  2.  * Header file for the PM debugging window
  3.  *
  4.  * Written by William S. Hall
  5.  * 3665  Benton Street, #66
  6.  * Santa Clara, CA 95051
  7.  *
  8.  */
  9.  
  10. /* This trick makes variables extern in modules EXTERN is not defined */
  11. #if !defined(EXTERN)
  12. #define EXTERN extern
  13. #endif
  14.  
  15. /* function declarations */
  16. /* from pmaux */
  17. MRESULT FAR PASCAL MainWndProc( HWND, USHORT, MPARAM, MPARAM );
  18.  
  19. /* from pmauxfn.c */
  20. BOOL SetOS2Ini(HWND hWnd);
  21. void NEAR DispatchString(HWND hWnd, MPARAM mp1, MPARAM mp2);
  22. void NEAR WndCommand(HWND hWnd, USHORT wParam);
  23. void NEAR MainWndPaint(HWND hWnd, HPS hPS, short top, short bottom);
  24. BOOL NEAR WindowIsIconic(HWND hWnd);
  25. MRESULT EXPENTRY AboutBoxProc(HWND hDlg, USHORT msg, MPARAM mp1, MPARAM mp2);
  26.  
  27. /* from pmauxnt.c */
  28. BOOL FAR InitProgram(int argc, char *argv[]);
  29. void FAR WndCreate(HWND hWnd);
  30.  
  31. /* resource string constants */
  32. #define IDS_APPNAME    100
  33. #define IDS_ICON    101
  34. #define IDS_TITLE    102
  35.  
  36. /* resource manifests */
  37. #define DT_ABOUT    1
  38. #define ID_RESOURCE    1
  39.  
  40. /* menu ids */
  41. #define IDM_ABOUT    100
  42. #define IDM_CRONLF    101
  43.  
  44. /* global variables */
  45. EXTERN HAB hAB;                /* anchor block handle */
  46. EXTERN HMQ hmqMsgQ;            /* handle to message queue */
  47. EXTERN HWND hwndFrame;            /* handle to window frame */
  48. EXTERN ULONG xIconsize, yIconsize;    /* size of icon */
  49. EXTERN char szAppName[10];        /* application name string */
  50. EXTERN char szIcon[5];            /* icon string */
  51. EXTERN struct TTYWND MWnd;        /* structure describing tty window */
  52. EXTERN HHEAP hHeap;            /* handle to local heap */
  53.